﻿using FriendStar.Application.VBaseData;
using FriendStar.Code;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace FriendStar.Web.Areas.VBaseData.Controllers
{
    public class V_CPK_23_CK_StoStorageCard_ArcController : ControllerBase
    {
        private V_CPK_23_CK_StoStorageCard_ArcApp v_cpk_23_CK_StoStorageCard_ArcApp = new V_CPK_23_CK_StoStorageCard_ArcApp();
        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(Pagination pagination, string FSupplierNO, string FProductionNO, string FCurDate, string FAccountDate, string FStoreSetNO, string FVoucherNo, string type)
        {
            var data = v_cpk_23_CK_StoStorageCard_ArcApp.GetList(pagination, FSupplierNO, FProductionNO, FCurDate, FAccountDate, FStoreSetNO, FVoucherNo, type);
            return Content(data.ToJson());
        }
    }
}
